package com.bs.service;

import com.bs.bean.Comment;

import java.util.ArrayList;
import java.util.List;

public interface CommentService {

    //查询评论列表
//    List<Comment> listComment();

    List<Comment> listByIdComment(Integer videoId);

    ArrayList<Comment> getAllCommentByName(String nickname);

    Boolean deleteCommentById(Integer id);

    List<Comment> getAllComment();

    List<Comment> getCommentByName(String nickname);

    Comment getCommentById(Integer id);

    void updateStateByComment(Comment comment);

    //保存评论
    int saveComment(Comment comment);

}